package codetop.bytedance.T695;

import util.GraphUtil;

/**
 * @Author: 18362
 * @Create: 2022-09-17 21:26:39 星期六
 */
public class M695 {
    public static void main(String[] args) {
//        int[][] grid = GraphUtil.parseGraph("[[0,0,1,0,0,0,0,1,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,1,0,0,0]," +
//                "[0,1,1,0,1,0,0,0,0,0,0,0,0],[0,1,0,0,1,1,0,0,1,0,1,0,0],[0,1,0,0,1,1,0,0,1,1,1,0,0]," +
//                "[0,0,0,0,0,0,0,0,0,0,1,0,0],[0,0,0,0,0,0,0,1,1,1,0,0,0],[0,0,0,0,0,0,0,1,1,0,0,0,0]]");
        int[][] grid = GraphUtil.parseGraph("[[0,0,0,0,0,0,0,0]]");
        System.out.println(new Solution().maxAreaOfIsland(grid));
    }
}
